<?php
/**
 * Copyright (c) 2006-2008, Julien PORTALIER
 * http://featherphp.googlecode.com/
 * 
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 */
class TranslateController extends ApplicationController
{
	protected $uses = 'String';
	
	function index()
	{
		$this->contexts = $this->String->get_contexts();
	}
	
	function context($ctx)
	{
		$this->strings = $this->String->get_strings($ctx, Core::$locale);
	}
	
	/// Saves a batch of translations.
	function save_translations()
	{
		
	}
	
	/// Saves a single translation.
	function save_translation($id=null)
	{
		
	}
}
?>